	<div class="cart-main-area cartbody">
		<div class="container">
			<div class="row">
				<div class="col-md-12 col-sm-12 col-xs-12">
					<form action="#">				
						<div class="table-content table-responsive">
							<table>
								<thead>
									<tr>
										<th class="product-thumbnail">图片</th>
										<th class="product-thumbnail">商品</th>
										<th class="product-thumbnail">属性</th>
										<th class="product-name">价格</th>
										<th class="product-price">数量</th>
										<th class="product-remove">操作</th>
									</tr>
								</thead>
								<tbody>
								    <foreach name="res" item="v">
									<tr class="shoptr"> 
										<td class="product-thumbnail"><a href="#"><img src="__ROOT__/Uploads/{$v.pic}" alt="" /></a></td>
										<td class="product-name"><a href="#">{$v.title}</a></td>
										<td class="product-name"><a href="#">{$v.vname}</a></td>
										<td class="product-price">￥<span class="amount">{$v.alprice}</span></td>
										<td class="product-quantity">
										<input type="hidden"  value="{$v.id}" class="shoppid">
										<input class="count" type="number" value="{$v.count}" /></td>
										<td class="product-remove del"><a href="#"><i class="fa fa-times"></i></a><input type="hidden"  value="{$v.id}" class="inputid"></td>
									</tr>
									</foreach>
								</tbody>
							</table>
						</div>
						<div class="row">
							<div class="col-md-9 col-sm-7 col-xs-12">
								<div class="buttons-cart">
									<input type="submit" value="Update Cart" />
									<a href="#">Continue Shopping</a>
								</div>
								<div class="coupon">
									<h3>Coupon</h3>
									<p>Enter your coupon code if you have one.</p>
									<input type="text" placeholder="Coupon code" />
									<input type="submit" value="Apply Coupon" />
								</div>
							</div>
							<div class="col-md-3 col-sm-5 col-xs-12">
								<div class="cart_totals">
									<h2>&nbsp;购&nbsp;物&nbsp;车&nbsp;结&nbsp;算&nbsp;</h2>
									<table>
										<tbody>
											<tr class="order-total">
												<th>数量</th>
												<td><span class="amount">{$res[0]['allcount']}</span></td>
											</tr>
											<tr class="order-total">
												<th>总计</th>
												<td>
													<strong><span class="amount">￥{$res[0]['allprice']}</span></strong>
												</td>
											</tr>											
										</tbody>
									</table>
									<div class="wc-proceed-to-checkout">
										<a href="#">Proceed to Checkout</a>
									</div>
								</div>
							</div>
						</div>
					</form>	
				</div>
			</div>
		</div>
	</div>